diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-07 18:18:22 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-07 18:19:06 +0100 |
| commit | 2fcbccfbd49c6eaf433272749e32589a6f490200 (patch) | |
| tree | f8fc429709d66ce96d1f0e8c3812f24c13bf9d18 /src/pages/[locale]/staticPaths.ts | |
| parent | d494739e4823424bb54d81e21b57e4725544eb07 (diff) | |
| parent | 27a25bfdeb07007e06bd4a608cd9953be04271ec (diff) | |
Merge branch 'master' of https://github.com/jcarstairs-scottlogic/lallans-wabsteid-astro
Diffstat (limited to 'src/pages/[locale]/staticPaths.ts')
| -rw-r--r-- | src/pages/[locale]/staticPaths.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pages/[locale]/staticPaths.ts b/src/pages/[locale]/staticPaths.ts new file mode 100644 index 0000000..8423851 --- /dev/null +++ b/src/pages/[locale]/staticPaths.ts @@ -0,0 +1,10 @@ +import type Locale from '../../types/Locale'; + +// Defines what values to insert into the [locale] URL path parameter +// when generating a static site +const staticPaths: { params: { locale: Locale } }[] = [ + { params: { locale: 'sco' } }, + { params: { locale: 'en-GB' } }, +] + +export default staticPaths;
\ No newline at end of file |
